package jdos.misc;

import jdos.dos.Dos_devices;
import jdos.ints.Int10_char;
import jdos.util.IntRef;
import jdos.util.StringHelper;

public final class Program {
    static byte last_written_character = 0;//For 0xA to OxD 0xA expansion
    public static void DosPrint(String format, Object[] args) {
        String buf = StringHelper.sprintf(format, args);
    	/*Bit16u*/int size = buf.length();
    	for(/*Bit16u*/int i = 0; i < size;i++) {
			Int10_char.INT10_TeletypeOutputAttr(((byte) buf.charAt(i)), 0x7, false);
    	}

    }

}
